import request  from '@/utils/request'

//分页查询岗位
export function pageStation(stationDto){
  return request({
    url: '/pd-auth/station/pageStation',
    method:'post',
    data:stationDto
  })
}

//添加岗位
export function addStation(station){
  return request({
    url: '/pd-auth/station/addStation',
    method:'post',
    data:station
  })
}

//删除岗位
export function delStation(ids){
  return request({
    url:  `/pd-auth/station/deleteStation/${ids}`,
    method:'get',
  })
}

//修改
export function updStation(station){
  return request({
    url: '/pd-auth/station/updateStation',
    method:'post',
    data:station
  })
}

//组织下拉单
export function selectOrg(){
  return request({
    url: '/pd-auth/core_org/QueryAllCoreallShuZhi',
    method:'post',
  })
}
